package com.huluobo.mvvm_base.net;

/**
 * 常量池,一般接口中的值都放在这里,比如:接口地址,接口的参数
 * Created by LC on 2024/3/22.
 */
public class Const {
    //基准请求地址
    public static final String BASE_URL = "http://10.161.9.80:7012";

    //登录接口
    public static final String URL_LOGIN = "/user/loginjson";

    //登录的参数username
    public static final String PARAM_USERNAME = "username";

    //登录的参数password
    public static final String PARAM_PASSWORD = "password";

    //sp中保存token的key
    public static final String SP_TOKEN = "sp_token";

    //sp中保存username
    public static final String SP_USERNAME = "sp_username";

    //Header 中的参数 token
    public static final String PARAM_TOKEN = "token";

    public static final String MEDIA_PARSE = "application/json;charset=utf-8";

    //注册参数 再次输入密码
    public static final String PARAM_RE_PASSWORD = "repassword";

    //注册接口
    public static final String URL_REGISTER = "/user/register";

    //首页商品接口
    public static final String URL_HOME_GOODS = "/goods/info";

    //首页商品参数 分类id
    public static final String PARAM_CATEGORY_ID = "category_id";
    //首页商品参数 当前页码
    public static final String PARAM_CURRENT_PAGE = "currentPage";
    //首页商品参数 页码大小
    public static final String PARAM_PAGE_SIZE = "pageSize";

    //替换 首页视频接口
    public static final String URL_HOME_VIDEO = "/video/findVideos";

    //首页banner接口
    public static final String URL_HOME_BANNER = "/banner/json";

    //视频页面接口
    public static final String URL_VIDEO_LIST = "/video/findVideos";

    //点赞参数
    public static final String PARAM_VIDEO_ID = "videoId";
    //点赞接口
    public static final String URL_LIKE = "/fav/love";
    //取消点赞接口
    public static final String URL_NO_LIKE = "/fav/nolove";

    //关注接口
    public static final String URL_FOLLOW = "/guanzhu/guanzhu";

    //关注参数
    public static final String PARAM_AUTHNAME = "authname";

    //获取评论列表接口
    public static final String URL_GET_COMMENT = "/comment/getCommentByVideoId";

    //评论的参数
    public static final String PARAM_MSG = "msg";

    //发布评论接口
    public static final String URL_SEND_COMMENT = "/comment/comment";

    //取消关注接口
    public static final String URL_NO_FOLLOW = "/guanzhu/noguanzhu";

    //礼物列表接口
    public static final String URL_GET_GIFT_LIST = "/gift/json";

    //聊天室ID
    public static final String CHAT_ROOM_ID = "244390700318723";

    //商品详情擦书
    public static final String PARAM_GOODS_ID = "goods_id";

    //加入购物车参数
    public static final String PARAM_COUNT = "count";

    //添加购物车接口
    public static final String URL_ADD_TO_CART = "/goods/addCar";

    //查询购物车接口
    public static final String URL_QUERY_CART = "/goods/selectCar";

    //获取点赞视频接口
    public static final String URL_GET_LIKE_VIDEOS = "/fav/loveVideos";

    //上传头像接口
    public static final String URL_UPDATE_ICON = "/user/updateIcon";
    //上传头像参数
    public static final String PARAM_FILE = "file";
    //上传地址接口
    public static final String URL_UPDATE_ADDRESS = "/user/updateAddress";
    //上传地址参数
    public static final String PARAM_ADDRESS = "address";
    //上传昵称接口
    public static final String URL_UPDATE_NICKNAME = "/user/updateNickname";
    //上传昵称参数
    public static final String PARAM_NICKNAME = "nickname";
    //上传生日接口
    public static final String URL_UPDATE_BIRTH = "/user/updateBrith";
    //上传生日参数
    public static final String PARAM_BIRTH = "brith";
    //上传性别接口
    public static final String URL_UPDATE_SEX = "/user/updateSex";
    //上传性别参数
    public static final String PARAM_SEX = "sex";

}
